package com.gec.dao;

import java.sql.SQLException;
import java.util.List;

import com.gec.model.RoomType;
import com.gec.model.Storey;

public interface StoreyDao {
	void saveStorey( Storey storey ) 
			throws SQLException;
		
	int getStoreyCount() throws SQLException;

	List<Storey> getStoreyList(
		int page, int pageSize ) 
		throws SQLException;
	
	Storey getStoreyById(String id, boolean flag) 
		throws SQLException;
	
	void updateStorey(Storey storey)
		throws SQLException;

	void delStorey(String id)
		throws SQLException;
	
	List<Storey> getAllStoreyList()
		throws SQLException;
}
